-- GENERATED SPELL FOR [Lord Kragaru] --


function spell0_12369(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15496,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12369', 600, 1)
end

function spell1_12369(pUnit, Event) --@Pummel,n/a--
pUnit:FullCastSpellOnTarget(12555,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12369', 5273, 1)
end

function Sorts_12369(pUnit, Event)
local choix_sorts_12369 = math.random(0, 1)
if choix_sorts_12369 == 0 then
pUnit:RegisterEvent('spell0_12369', 1, 1)
end
if choix_sorts_12369 == 1 then
pUnit:RegisterEvent('spell1_12369', 1, 1)
end
end

function mob12369_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12369', math.random(1500, 3000), 1)
end

function mob12369_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12369_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12369_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12369, 1, 'mob12369_Action')
RegisterUnitEvent(12369, 2, 'mob12369_Leave')
RegisterUnitEvent(12369, 3, 'mob12369_Kill')
RegisterUnitEvent(12369, 4, 'mob12369_Die')
